package com.ruoyi.customer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户对象 crm_customer
 *
 * @author hct
 * @date 2022-02-11
 */
@Data
public class CrmCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String companyAddress;

    /** 客户类型 */
    @Excel(name = "客户类型")
    private Integer companyType;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String companyName;

    /** 所属国家 */
    @Excel(name = "所属国家")
    private String companyCountry;

    /** 客户描述 */
    private String companyDesc;

 
    /** 联系邮箱 */
    @Excel(name = "联系邮箱")
    private String email;

    /** 所属行业名称 */
    @Excel(name = "所属行业名称")
    private String industryname;

    /** 行业id */
    @Excel(name = "行业id")
    private String industryId;

    /** 手机号联系电话 */
    @Excel(name = "手机号联系电话")
    private String mobile;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 职务 */
    @Excel(name = "职务")
    private String post;

    /** 规模 */
    @Excel(name = "规模")
    private String scale;

    /** 通讯地址 */
    @Excel(name = "通讯地址")
    private String address;

    /** 状态  0正常 1禁用*/
    @Excel(name = "状态")
    private Integer status;
    /** 状态  0正常 2删除*/
    private Integer delFlag;



    /** 营业范围 */
    private String businessScope;

    /** 客户状态 */
    @Excel(name = "客户状态")
    private String companystatus;

    /** 入孵时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入孵时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incubatorTime;

    /** 注册资金 */
    @Excel(name = "注册资金")
    private String registerMoney;

    /** 注册成立时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册成立时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 统一信用代码 */
    @Excel(name = "统一信用代码")
    private String socialCreditCode;

    /** 技术领域 */
    @Excel(name = "技术领域")
    private String technicalField;

    /** 坐标 */
    @Excel(name = "坐标")
    private String lnglat;


    /** 是否优质企业 */
    @Excel(name = "是否优质企业")
    private Long hot;

    /** 客户名头像 */
    @Excel(name = "客户Logo")
    private String companyLogo;

    /** 客户图片集 */
    @Excel(name = "客户图片集")
    private String companyImgs;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerendTime;

    /** 经营状态 */
    @Excel(name = "经营状态")
    private String managementType;

    /** 企业性质 */
    @Excel(name = "企业性质")
    private String companyNature;

    /** 登记机关 */
    @Excel(name = "登记机关")
    private String registrationAuthority;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("companyAddress", getCompanyAddress())
                .append("companyType", getCompanyType())
                .append("companyName", getCompanyName())
                .append("companyCountry", getCompanyCountry())
                .append("companyDesc", getCompanyDesc())
                .append("createTime", getCreateTime())
                .append("email", getEmail())
                .append("industryname", getIndustryname())
                .append("industryId", getIndustryId())
                .append("mobile", getMobile())
                .append("name", getName())
                .append("post", getPost())
                .append("scale", getScale())
                .append("address", getAddress())
                .append("status", getStatus())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("businessScope", getBusinessScope())
                .append("companystatus", getCompanystatus())
                .append("incubatorTime", getIncubatorTime())
                .append("registerMoney", getRegisterMoney())
                .append("registerTime", getRegisterTime())
                .append("socialCreditCode", getSocialCreditCode())
                .append("technicalField", getTechnicalField())
                .append("lnglat", getLnglat())
                .append("hot", getHot())
                .append("companyLogo", getCompanyLogo())
                .append("companyImgs", getCompanyImgs())
                .append("registerendTime", getRegisterendTime())
                .append("managementType", getManagementType())
                .append("companyNature", getCompanyNature())
                .append("registrationAuthority", getRegistrationAuthority())
                .append("legalPerson", getLegalPerson())
                .toString();
    }
}
